package com.blog.constant;


public class Constants {

	
	public static final String FLAG_Y = "Y";
	public static final String FLAG_N = "N";

	public static final String RESULT_CODE_FAIL = "fail";
	public static final String RESULT_CODE_SUCCESS = "success";

	public static final String STATUS_CODE_OPEN = "open";
	public static final String STATUS_CODE_CLOSED = "closed";
	public static final String STATUS_CODE_READY = "ready";


	public static final String STATUS_CODE_ENABLE = "enable";
	public static final String STATUS_CODE_DISABLE = "disable";

	public static final Integer STATUS_CODE_ACTIVE = 1;
	public static final Integer STATUS_CODE_INACTIVE = 0;

	public static final String C_DATETIME_PATTERN_DEFAULT = "yyyy-MM-dd HH:mm:ss";


	public static final String ENCODING_UTF8 = "UTF-8";
	public static final String ENCODING_GBK = "GBK";
	public static final String ENCODING_BIG5 = "BIG5";
	
	public static final Integer ADMIN_ID = 1;
	
	public static final Integer ARTICLE_ACTIVE = 1;
	
	public static final Integer CATE_ACTIVE = 1;
	
	public static final Integer PAGE_SIZE_TEN = 10;
	
	public static final Integer VIEW_SIZE_TEN = 10;
	
	public static final Integer SHOW_PAGE_NUM = 5;
	
}
